From 0fded0170ad7b6a3e1be8695fe505c6f556d8e82 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 2 Oct 2023 20:56:53 -0600 Subject: [PATCH] feat(storage-server): fix service --- misc/packaging/openrc/storage-server.openrc.sh | 2 +- misc/packaging/systemd/storage-server.systemd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/packaging/openrc/storage-server.openrc.sh b/misc/packaging/openrc/storage-server.openrc.sh index 98a7473..d6dfd11 100644 --- a/misc/packaging/openrc/storage-server.openrc.sh +++ b/misc/packaging/openrc/storage-server.openrc.sh @@ -1,7 +1,7 @@ #!/sbin/openrc-run command="/usr/bin/storage-server" -command_args="" +command_args=run"" supervisor=supervise-daemon output_log="/var/log/storage-server.log" error_log="$output_log" diff --git a/misc/packaging/systemd/storage-server.systemd.service b/misc/packaging/systemd/storage-server.systemd.service index a983fc2..8a0513a 100644 --- a/misc/packaging/systemd/storage-server.systemd.service +++ b/misc/packaging/systemd/storage-server.systemd.service @@ -6,7 +6,7 @@ After=network.target Type=simple Restart=on-failure EnvironmentFile=/etc/storage-server/environ -ExecStart=/usr/bin/storage-server +ExecStart=/usr/bin/storage-server run EnvironmentFile=/etc/storage-server/environ NoNewPrivileges=yes PrivateTmp=yes