bundles: less Restart=on-failure, more Restart=always

This commit is contained in:
Franzi 2021-04-02 08:05:33 +02:00
parent 5b276368b8
commit 8a0c8f32ae
Signed by: kunsi
GPG key ID: 12E3D2136B818350
9 changed files with 9 additions and 9 deletions

View file

@ -8,7 +8,7 @@ User=matrix-media-repo
Group=matrix-media-repo
ExecStart=/opt/matrix-media-repo/src/bin/media_repo -config /opt/matrix-media-repo/config.yaml
WorkingDirectory=/opt/matrix-media-repo/
Restart=on-failure
Restart=always
LimitNOFILE=65536
[Install]

View file

@ -11,7 +11,7 @@ Environment="PATH=/opt/mautrix-telegram/venv/bin:/usr/local/bin:/usr/bin:/bin"
Environment="FFMPEG_BINARY=/usr/bin/ffmpeg"
ExecStart=/opt/mautrix-telegram/venv/bin/python -m mautrix_telegram -c /opt/mautrix-telegram/config.yaml
WorkingDirectory=/opt/mautrix-telegram/src
Restart=on-failure
Restart=always
RestartSec=10
[Install]

View file

@ -8,7 +8,7 @@ User=mautrix-whatsapp
Group=mautrix-whatsapp
ExecStart=/opt/mautrix-whatsapp/src/mautrix-whatsapp --config /opt/mautrix-whatsapp/config.yaml --registration /opt/mautrix-whatsapp/registration.yaml
WorkingDirectory=/opt/mautrix-whatsapp/src
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -8,7 +8,7 @@ Group=mjpg-streamer
Environment=LD_LIBRARY_PATH=/opt/mjpg-streamer/git/mjpg-streamer-experimental
ExecStart=/opt/mjpg-streamer/git/mjpg-streamer-experimental/mjpg_streamer -i "${node.metadata['mjpg-streamer']['input-plugin']}" -o "output_http.so -p 22040"
WorkingDirectory=/opt/mjpg-streamer
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -8,7 +8,7 @@ User=mx-puppet-discord
Group=mx-puppet-discord
ExecStart=/usr/bin/node /opt/mx-puppet-discord/src/build/index.js -c /opt/mx-puppet-discord/config.yaml -f /opt/mx-puppet-discord/registration.yaml
WorkingDirectory=/opt/mx-puppet-discord/src/
Restart=on-failure
Restart=always
RestartSec=10
[Install]

View file

@ -11,7 +11,7 @@ Environment="PLEROMA_CONFIG_PATH=/opt/pleroma/pleroma.config.exs"
Environment="PLUG_TMPDIR=/tmp/pleroma"
ExecStart=/opt/pleroma/release/bin/pleroma start
ExecStop=/opt/pleroma/release/bin/pleroma stop
Restart=on-failure
Restart=always
PrivateTmp=true
ProtectHome=true

View file

@ -9,7 +9,7 @@ Group=pretalx
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
WorkingDirectory=/opt/pretalx/src/src
ExecStart=/opt/pretalx/venv/bin/gunicorn pretalx.wsgi --name pretalx --workers 4 --max-requests 1200 --max-requests-jitter 50 --log-level=info --bind=127.0.0.1:22060
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -9,7 +9,7 @@ Group=pretalx
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
ExecStart=/opt/pretalx/venv/bin/celery -A pretalx.celery_app worker -l info
WorkingDirectory=/opt/pretalx
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -5,7 +5,7 @@ Requires=network.target
[Service]
ExecStart=/usr/bin/env python3 -m radicale
Restart=on-failure
Restart=always
User=radicale
UMask=0027
PrivateTmp=true