Move all services into their own domains

I've already seen the cons of running as root
This commit is contained in:
Harsh Shandilya 2018-02-09 06:03:05 +00:00
parent 5d37721607
commit 7da5de3c64
No known key found for this signature in database
GPG key ID: 4AD75758D9EE741C
3 changed files with 6 additions and 6 deletions

View file

@ -4,9 +4,9 @@ After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/jarvis-ci-bot
ExecStart=/root/jarvis-ci-bot/build.py
User=bot
WorkingDirectory=/home/bot/jarvis-ci-bot
ExecStart=/home/bot/jarvis-ci-bot/build.py
Restart=on-abort
[Install]