trashposs/docs/examples/trashposs.service

16 lines
275 B
SYSTEMD
Raw Permalink Normal View History

2023-08-09 20:46:48 +02:00
[Unit]
2024-04-06 22:37:46 +02:00
Description=TrashPoss daemon
2023-08-09 20:46:48 +02:00
[Service]
Type=simple
2024-04-06 23:55:59 +02:00
User=trashposs
2023-08-09 20:46:48 +02:00
ExecStart=/usr/bin/yarn start
2024-04-06 23:55:59 +02:00
WorkingDirectory=/home/trashposs/trashposs
2023-08-09 20:46:48 +02:00
Environment="NODE_ENV=production"
TimeoutSec=60
2024-04-06 23:55:59 +02:00
SyslogIdentifier=trashposs
2023-08-09 20:46:48 +02:00
Restart=always
[Install]
WantedBy=multi-user.target