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

19 lines
479 B
SYSTEMD
Raw Normal View History

2020-08-17 17:29:58 +02:00
[Unit]
Description=Droppy: self-hosted file storage server
After=network.target
[Service]
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="NODE_ENV=production"
Environment="PATH=__ENV_PATH__"
ExecStart= __FINALPATH__/droppy.js start -c __FINALPATH__/config -f /home/yunohost.app/__APP__/files
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
SyslogIdentifier=__APP__
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target