1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00
borgwarehouse_ynh/conf/systemd.service

18 lines
328 B
SYSTEMD
Raw Normal View History

2023-10-17 12:13:49 +02:00
[Unit]
Description=BorgWarehouse
Documentation=https://borgwarehouse.com
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2023-10-17 13:58:46 +02:00
Environment="PATH=__ENV_PATH__"
2023-10-17 13:36:15 +02:00
WorkingDirectory=__INSTALL_DIR__/app
2023-10-17 12:13:49 +02:00
Environment=PORT=__PORT__
ExecStart=__YNH_NPM__ run start
Restart=on-failure
[Install]
WantedBy=multi-user.target