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
2022-06-02 00:45:50 +02:00

20 lines
498 B
Desktop File

[Unit]
Description=Droppy: self-hosted file storage server
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_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