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
eric_G 168b024eda
Version 2 (#28)
* 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>
2023-08-18 11:36:01 +02:00

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