mirror of
https://github.com/YunoHost-Apps/droppy_ynh.git
synced 2024-09-03 18:26:27 +02:00
168b024eda
* v2 * Auto-update README * v2 * Auto-update README * v2 * Update _common.sh * Update _common.sh * Update systemd.service * cleaning * fix * Auto-update README * Update backup --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
20 lines
478 B
Desktop File
20 lines
478 B
Desktop File
[Unit]
|
|
Description=Droppy: file storage server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
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 __DATA_DIR__/files
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
Restart=always
|
|
SyslogIdentifier=__APP__
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|