mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +02:00
debian: adding sysconfig environment config
This commit is contained in:
parent
aeeb049403
commit
ec664ea207
3 changed files with 11 additions and 3 deletions
6
debian/sysconfig/thalos-server
vendored
Normal file
6
debian/sysconfig/thalos-server
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Environment variables for thalos-server
|
||||||
|
#
|
||||||
|
# This is file sourced by the systemd unit file
|
||||||
|
|
||||||
|
# Append additional cli flags if needed. see: thalos-server -h
|
||||||
|
THALOS_SERVER_ARGS="-c /etc/thalos/config.yml"
|
||||||
3
debian/thalos-server.service
vendored
3
debian/thalos-server.service
vendored
|
|
@ -6,7 +6,8 @@ After=network.target
|
||||||
User=thalos
|
User=thalos
|
||||||
Group=thalos
|
Group=thalos
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/thalos-server -c /etc/thalos/config.yml
|
EnvironmentFile=-/etc/sysconfig/thalos-server
|
||||||
|
ExecStart=/usr/bin/thalos-server $THALOS_SERVER_ARGS
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|
|
||||||
1
debian/thalos.install
vendored
1
debian/thalos.install
vendored
|
|
@ -1 +1,2 @@
|
||||||
debian/thalos-server.service /lib/systemd/system
|
debian/thalos-server.service /lib/systemd/system
|
||||||
|
debian/sysconfig/thalos-server /etc/sysconfig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue