Skip to content

Commit ab8cd68

Browse files
committed
Update Exec path in systemd unit files
1 parent ccca53e commit ab8cd68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

systemd_services/basedcount_bot.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Requires=network-online.target
66

77
[Service]
88
Type=simple
9-
WorkingDirectory=/root/Bots/basedcount_bot
10-
ExecStart=/root/Bots/basedcount_bot/basedcount_bot.py
9+
WorkingDirectory=%h/Programming/Bots/basedcount_bot
10+
ExecStart=%h/Programming/Bots/basedcount_bot/basedcount_bot.py
1111
Restart=always
1212
RestartSec=15s
1313

systemd_services/basedcount_bot_backup.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Requires=network-online.target
55

66
[Service]
77
Type=oneshot
8-
WorkingDirectory=/root/Bots/basedcount_bot/backup_and_cheating
9-
ExecStart=/root/Bots/basedcount_bot/backup_and_cheating/back_up_and_cheating.py
8+
WorkingDirectory=%h/Programming/Bots/basedcount_bot/backup_and_cheating
9+
ExecStart=%h/Programming/Bots/basedcount_bot/backup_and_cheating/back_up_and_cheating.py
1010

1111
[Install]
1212
WantedBy=default.target

0 commit comments

Comments
 (0)