diff options
author | Carsten Feuls | 2019-02-07 15:23:01 +0100 |
---|---|---|
committer | Carsten Feuls | 2019-02-07 15:23:01 +0100 |
commit | 044df48b23cfe407d63ec670006ead11cffa122c (patch) | |
tree | d2acfe0021471a10f64a31d041570679ebc8df12 /thanos.service | |
download | aur-044df48b23cfe407d63ec670006ead11cffa122c.tar.gz |
Initialer Commit
Diffstat (limited to 'thanos.service')
-rw-r--r-- | thanos.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/thanos.service b/thanos.service new file mode 100644 index 000000000000..c8616b769e14 --- /dev/null +++ b/thanos.service @@ -0,0 +1,18 @@ +[Unit] +Description=Thanos for Prometheus +Requires=network-online.target +After=network-online.target + +[Service] +User=thanos +Group=thanos +Restart=on-failure +EnvironmentFile=-/etc/conf.d/thanos +ExecStart=/usr/bin/thanos $THANOS_ARGS $CLUSTER_ARGS +ExecReload=/bin/kill -HUP $MAINPID +NoNewPrivileges=true +ProtectHome=true +ProtectSystem=strict + +[Install] +WantedBy=multi-user.target |