mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
6d791f8690
Fix #21
20 lines
498 B
Desktop File
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
|