mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
19 lines
No EOL
479 B
Desktop File
19 lines
No EOL
479 B
Desktop File
[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 |