mirror of https://github.com/tteck/Proxmox.git
fix line endings, correct cleanup to remove zip file
This commit is contained in:
parent
87251a4987
commit
b1c25b5341
|
@ -37,12 +37,8 @@ cat <<EOF >/etc/systemd/system/bazarr.service
|
||||||
Description=Bazarr Daemon
|
Description=Bazarr Daemon
|
||||||
After=syslog.target network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
# After=syslog.target network.target sonarr.service radarr.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/bazarr/
|
WorkingDirectory=/opt/bazarr/
|
||||||
User=your_user(username of your choice)
|
|
||||||
Group=your_group(group of your choice)
|
|
||||||
UMask=0002
|
UMask=0002
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
@ -64,7 +60,7 @@ motd_ssh
|
||||||
root
|
root
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf Bazarr.master.*.tar.gz
|
rm -rf Bazarr.zip
|
||||||
$STD apt-get autoremove
|
$STD apt-get autoremove
|
||||||
$STD apt-get autoclean
|
$STD apt-get autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
Loading…
Reference in New Issue