summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/etc
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-11-12 11:14:12 +0100
committerdennis <dennis@mrslave>2019-11-12 11:14:12 +0100
commit32df7e9c53f475038cde19fbcfa1544ce827fb1a (patch)
tree96e1ef8d549bca52aaf4d3429df0ef90024ad3c9 /mkosi.skeleton/etc
parentfuck ubuntus motd (diff)
downloadmkosi-sabnzbd-32df7e9c53f475038cde19fbcfa1544ce827fb1a.tar.gz
moving from skeleton to extra
Diffstat (limited to 'mkosi.skeleton/etc')
-rw-r--r--mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades6
-rw-r--r--mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades33
l---------mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sabnzbd.service1
-rw-r--r--mkosi.skeleton/etc/systemd/system/sabnzbd.service16
4 files changed, 0 insertions, 56 deletions
diff --git a/mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades b/mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades
deleted file mode 100644
index 8504436..0000000
--- a/mkosi.skeleton/etc/apt/apt.conf.d/20auto-upgrades
+++ /dev/null
@@ -1,6 +0,0 @@
-APT::Periodic::Unattended-Upgrade "1";
-
-APT::Periodic::Update-Package-Lists "1";
-
-
-APT::Periodic::AutocleanInterval "7";
diff --git a/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades b/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades
deleted file mode 100644
index f996348..0000000
--- a/mkosi.skeleton/etc/apt/apt.conf.d/50unattended-upgrades
+++ /dev/null
@@ -1,33 +0,0 @@
-// Unattended-Upgrade::Origins-Pattern controls which packages are
-// upgraded.
-Unattended-Upgrade::Origins-Pattern {
- "origin=Ubuntu,archive=${distro_codename}-security";
- "o=Ubuntu,a=${distro_codename}";
- "o=Ubuntu,a=${distro_codename}-updates";
- "o=Ubuntu,a=${distro_codename}-proposed-updates";
- "o=Ubuntu,n=${distro_codename}-backports";
- };
-
-// List of packages to not update (regexp are supported)
-Unattended-Upgrade::Package-Blacklist {
-};
-
-
-// Split the upgrade into the smallest possible chunks so that
-// they can be interrupted with SIGUSR1. This makes the upgrade
-// a bit slower but it has the benefit that shutdown while a upgrade
-// is running is possible (with a small delay)
-Unattended-Upgrade::MinimalSteps "true";
-
-
-// Do automatic removal of new unused dependencies after the upgrade
-// (equivalent to apt-get autoremove)
-Unattended-Upgrade::Remove-Unused-Dependencies "true";
-
-
-// Do upgrade application even if it requires restart after upgrade
-// I.e. "XB-Upgrade-Requires: app-restart" is set in the debian/control file
-Unattended-Upgrade::IgnoreAppsRequireRestart "true";
-
-// Automatically run "dpkg --force-confold --configure -a".
-Unattended-Upgrade::AutoFixInterruptedDpkg "true";
diff --git a/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sabnzbd.service b/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sabnzbd.service
deleted file mode 120000
index 7d8ab3e..0000000
--- a/mkosi.skeleton/etc/systemd/system/multi-user.target.wants/sabnzbd.service
+++ /dev/null
@@ -1 +0,0 @@
-../sabnzbd.service \ No newline at end of file
diff --git a/mkosi.skeleton/etc/systemd/system/sabnzbd.service b/mkosi.skeleton/etc/systemd/system/sabnzbd.service
deleted file mode 100644
index d800fe0..0000000
--- a/mkosi.skeleton/etc/systemd/system/sabnzbd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=SabNZB Daemon
-After=network.target
-
-[Service]
-User=warez
-Group=warez
-Umask=022
-
-Type=forking
-ExecStart=/usr/bin/sabnzbdplus --daemon --config-file /config --server 0.0.0.0:8080
-TimeoutStopSec=20
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target