File: git-ubuntu-importer-service-worker%40.service

package info (click to toggle)
git-ubuntu 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,688 kB
  • sloc: python: 13,378; sh: 480; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=git-ubuntu importer service worker

[Service]
User=ubuntu
Group=ubuntu
Type=notify
ExecStart=/snap/bin/git-ubuntu importer-service-worker %i tcp://REPLACE_WITH_CONTROLLER_IP:1692
Restart=always
RestartSec=60
# 259200 == 72 hours
WatchdogSec=259200
# Attempt to give the worker some time to clean up /tmp on a watchdog-driven abort
TimeoutAbortSec=600
# Arrange a KeyboardInterrupt on watchdog termination so behaviour can be easily verified manually
WatchdogSignal=SIGINT
# Allow systemd to clean up any mess in /tmp
PrivateTmp=yes
Environment=PYTHONUNBUFFERED=1