From 17e5cef7372a989f8a04ac044618a3bc7e7db91f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sat, 15 Jun 2019 16:04:54 +0200 Subject: [PATCH] fix(systemd): removed systemd units --- systemd/flucky@.service | 38 -------------------------- systemd/flucky@.timer | 59 ----------------------------------------- 2 files changed, 97 deletions(-) delete mode 100644 systemd/flucky@.service delete mode 100644 systemd/flucky@.timer diff --git a/systemd/flucky@.service b/systemd/flucky@.service deleted file mode 100644 index 0607f15..0000000 --- a/systemd/flucky@.service +++ /dev/null @@ -1,38 +0,0 @@ -[Unit] -Description=flucky service -#OnFailure=status-email@%n.service - -[Service] -# Type -# Configures the process start-up type for this service unit. One of -# simple, forking, oneshot, dbus, notify or idle. -Type=simple - -# Specifiers -# Many settings resolve specifiers which may be used to write generic -# unit files referring to runtime or unit parameters that are replaced -# when the unit files are loaded. Specifiers must be known and -# resolvable for the setting to be valid. The following specifiers are -# understood: - -# %b BootID The boot ID of the running system, formatted as string. -# %C Cache directory root This is either /var/cache (for the system manager) or the path "$XDG_CACHE_HOME" resolves to (for user managers). -# %E Configuration directory root This is either /etc (for the system manager) or the path "$XDG_CONFIG_HOME" resolves to (for user managers). -# %f Unescaped filename -# %h User home directory This is the home directory of the user running the service manager instance. In case of the system manager this resolves to "/root". -# %H Hostname The hostname of the running system at the point in time the unit configuration is loaded. -# $i Instance name For instantiated units this is the string between the first "@" character and the type suffix. Empty for non-instantiated units. -# %I Unescaped instance name Same as "%i", but with escaping undone. -# %n Full unit name -# %N Full unit name Same as "%n", but with the type suffix removed. -# %p Prefix name For instantiated units, this refers to the string before the first "@" character of the unit name. For non-instantiated units, same as "%N". -# %P Unescaped prefix name Same as "%p", but with escaping undone. -# %u User name This is the name of the user running the service manager instance. In case of the system manager this resolves to "root". -# %U User UID This is the numeric UID of the user running the service manager instance. In case of the system manager this resolves to "0". - -ExecStart=/usr/local/bin/flucky temperature push %i - -Environment=USER=root - -User=root -Group=root diff --git a/systemd/flucky@.timer b/systemd/flucky@.timer deleted file mode 100644 index fdcfcfe..0000000 --- a/systemd/flucky@.timer +++ /dev/null @@ -1,59 +0,0 @@ -[Unit] -Description=fetchmail timer - -[Timer] -# OnCalendar -# Defines realtime (i.e. wallclock) timers with calendar event -# expressions. -# -# minutely *-*-* *:*:00 -# hourly *-*-* *:00:00 -# daily *-*-* 00:00:00 -# monthly *-*-01 00:00:00 -# weekly Mon *-*-* 00:00:00 -# yearly *-01-01 00:00:00 -# quarterly *-01,04,07,10-01 00:00:00 -# semiannually *-01,07-01 00:00:00 -# every 10 minutes *-*-* *:0/10:00 -OnCalendar=*-*-* *:0/10:00 - -# Persistent -# Takes a boolean argument. If true, the time when the service unit was -# last triggered is stored on disk. When the timer is activated, the -# service unit is triggered immediately if it would have been triggered -# at least once during the time when the timer was inactive. This is -# useful to catch up on missed runs of the service when the machine was -# off. -Persistent=true - -# RandomizedDelaySec -# Delay the timer by a randomly selected, evenly distributed amount of -# time between 0 and the specified time value. Defaults to 0, indicating -# that no randomized delay shall be applied. Each timer unit will -# determine this delay randomly each time it is started, and the delay -# will simply be added on top of the next determined elapsing time. This -# is useful to stretch dispatching of similarly configured timer events -# over a certain amount time, to avoid that they all fire at the same -# time, possibly resulting in resource congestion. -RandomizedDelaySec=0 - -# Unit -# The unit to activate when this timer elapses. The argument is a unit -# name, whose suffix is not ".timer". If not specified, this value -# defaults to a service that has the same name as the timer unit, except -# for the suffix. (See above.) It is recommended that the unit name that -# is activated and the unit name of the timer unit are named -# identically, except for the suffix. -# Unit= - -# WakeSystem -# Takes a boolean argument. If true, an elapsing timer will cause the -# system to resume from suspend, should it be suspended and if the -# system supports this. Note that this option will only make sure the -# system resumes on the appropriate times, it will not take care of -# suspending it again after any work that is to be done is finished. -# Defaults to false -WakeSystem=false - -[Install] -WantedBy=multi-user.target