Skip to content

Commit b909c01

Browse files
committed
Fix minor issue in systemd unit config
1 parent 17d78b4 commit b909c01

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

systemd_services/basedcount_bot.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ After=default.target
66
[Service]
77
Type=simple
88
ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;'
9-
WorkingDirectory=%h/Programming/Bots/basedcount_bot
10-
ExecStart=%h/Programming/Bots/basedcount_bot/basedcount_bot.py
9+
WorkingDirectory=%h/Bots/basedcount_bot
10+
ExecStart=%h/Bots/basedcount_bot/basedcount_bot.py
1111
Restart=always
1212
RestartSec=15s
1313

1414
[Install]
15-
WantedBy=multi-user.target
15+
WantedBy=default.target

systemd_services/basedcount_bot_backup.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ After=default.target
44

55
[Service]
66
Type=oneshot
7-
WorkingDirectory=%h/Programming/Bots/basedcount_bot/backup_and_cheating
8-
ExecStart=%h/Programming/Bots/basedcount_bot/backup_and_cheating/back_up_and_cheating.py
7+
WorkingDirectory=%h/Bots/basedcount_bot/backup_and_cheating
8+
ExecStart=%h/Bots/basedcount_bot/backup_and_cheating/back_up_and_cheating.py
99

1010
[Install]
1111
WantedBy=default.target

0 commit comments

Comments
 (0)