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

Update systemd.service

This commit is contained in:
Éric Gaspar 2023-08-18 10:06:28 +02:00
parent 260370b76d
commit e4ffcc74e4

View file

@ -1,5 +1,5 @@
[Unit]
Description=Droppy: self-hosted file storage server
Description=Droppy: file storage server
After=network.target
[Service]
@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart= __INSTALL_DIR__/droppy.js start -c __INSTALL_DIR__/config -f /home/yunohost.app/__APP__/files
ExecStart= __INSTALL_DIR__/droppy.js start -c __INSTALL_DIR__/config -f __DATA_DIR__/files
AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=always
SyslogIdentifier=__APP__