mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
16 lines
275 B
SYSTEMD
16 lines
275 B
SYSTEMD
|
[Unit]
|
||
|
Description=Iceshrimp daemon
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=iceshrimp
|
||
|
ExecStart=/usr/bin/yarn start
|
||
|
WorkingDirectory=/home/iceshrimp/iceshrimp
|
||
|
Environment="NODE_ENV=production"
|
||
|
TimeoutSec=60
|
||
|
SyslogIdentifier=iceshrimp
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|