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
331 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__
2024-05-08 22:24:23 +02:00
Environment="__YNH_NODE_LOAD_PATH__"
2024-05-01 18:18:22 +02:00
WorkingDirectory=/home/__APP__/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