diff options
author | George Rawlinson | 2022-06-12 20:31:06 +1200 |
---|---|---|
committer | George Rawlinson | 2022-06-12 20:31:06 +1200 |
commit | 7fbed327de30d8bb214548c522dc02b004b11732 (patch) | |
tree | da34ce393bf4599f4090005431055cb5577f094b /systemd.service | |
parent | 40bad481f27a87f864b06bdd0b321beabaf1e39b (diff) | |
download | aur-7fbed327de30d8bb214548c522dc02b004b11732.tar.gz |
import from community
Diffstat (limited to 'systemd.service')
-rw-r--r-- | systemd.service | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/systemd.service b/systemd.service index e1c5aaf62730..c1123ad08d69 100644 --- a/systemd.service +++ b/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Promscale service +Description=TimescaleDB Promscale Service Documentation=https://github.com/timescale/promscale Requires=network-online.target After=network-online.target @@ -7,13 +7,14 @@ After=network-online.target [Service] User=promscale Group=promscale +EnvironmentFile=-/etc/promscale.conf +ExecStart=/usr/bin/promscale $OPTIONS Restart=on-failure RestartSec=5s -# If PROMSCALE_ARGS is required, it should be applied using a drop-in -# systemd file. See `man 5 systemd.unit` for details. -ExecStart=/usr/bin/promscale $PROMSCALE_ARGS -ExecReload=/bin/kill -HUP $MAINPID +KillMode=mixed +KillSignal=SIGINT +# Hardening NoNewPrivileges=true ProtectSystem=strict ProtectHome=true |