From e4ffcc74e4855f3fec903f379ec1f866af364915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 18 Aug 2023 10:06:28 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index e86e4c8..44a6c52 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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__