diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-09 20:06:01 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-09 20:45:50 +0100 |
commit | dc352536a8be332aa520d732c656189478ecb104 (patch) | |
tree | e19dc271bcd578d1feb5509e1f1277173dcaf54e /nixos | |
parent | 981c28735583f983ae25050fd1fc9533ae501aa0 (diff) | |
download | nixlib-dc352536a8be332aa520d732c656189478ecb104.tar nixlib-dc352536a8be332aa520d732c656189478ecb104.tar.gz nixlib-dc352536a8be332aa520d732c656189478ecb104.tar.bz2 nixlib-dc352536a8be332aa520d732c656189478ecb104.tar.lz nixlib-dc352536a8be332aa520d732c656189478ecb104.tar.xz nixlib-dc352536a8be332aa520d732c656189478ecb104.tar.zst nixlib-dc352536a8be332aa520d732c656189478ecb104.zip |
nixos: capitalize a bunch of service descriptions
(systemd service descriptions that is, not service descriptions in "man configuration.nix".) Capitalizing each word in the description seems to be the accepted standard. Also shorten these descriptions: * "Munin node, the agent process" => "Munin Node" * "Planet Venus, an awesome ‘river of news’ feed reader" => "Planet Venus Feed Reader"
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/pulseaudio.nix | 2 | ||||
-rw-r--r-- | nixos/modules/programs/venus.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/hardware/bluetooth.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/apcupsd.nix | 4 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/graphite.nix | 8 | ||||
-rw-r--r-- | nixos/modules/services/monitoring/munin.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/network-filesystems/samba.nix | 6 | ||||
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 2 | ||||
-rw-r--r-- | nixos/modules/virtualisation/nova.nix | 8 | ||||
-rw-r--r-- | nixos/modules/virtualisation/xen-dom0.nix | 2 |
10 files changed, 19 insertions, 19 deletions
diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix index 7a6cc542273a..e7cbe7a28f36 100644 --- a/nixos/modules/config/pulseaudio.nix +++ b/nixos/modules/config/pulseaudio.nix @@ -131,7 +131,7 @@ in { users.extraGroups.pulse.gid = gid; systemd.services.pulseaudio = { - description = "PulseAudio system-wide server"; + description = "PulseAudio System-Wide Server"; wantedBy = [ "sound.target" ]; before = [ "sound.target" ]; path = [ cfg.package ]; diff --git a/nixos/modules/programs/venus.nix b/nixos/modules/programs/venus.nix index 9a077d404920..7ab653dd19fd 100644 --- a/nixos/modules/programs/venus.nix +++ b/nixos/modules/programs/venus.nix @@ -161,7 +161,7 @@ in ''; systemd.services.venus = - { description = "Planet Venus, an awesome ‘river of news’ feed reader"; + { description = "Planet Venus Feed Reader"; path = [ pkgs.venus ]; script = "exec venus-planet ${configFile}"; serviceConfig.User = "${cfg.user}"; diff --git a/nixos/modules/services/hardware/bluetooth.nix b/nixos/modules/services/hardware/bluetooth.nix index b0714a3ce800..a70a66c2ba0b 100644 --- a/nixos/modules/services/hardware/bluetooth.nix +++ b/nixos/modules/services/hardware/bluetooth.nix @@ -28,7 +28,7 @@ with pkgs.lib; services.dbus.packages = [ pkgs.bluez ]; systemd.services."dbus-org.bluez" = { - description = "Bluetooth service"; + description = "Bluetooth Service"; serviceConfig = { Type = "dbus"; BusName = "org.bluez"; diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix index 114bad5c947e..58ec8a49694b 100644 --- a/nixos/modules/services/monitoring/apcupsd.nix +++ b/nixos/modules/services/monitoring/apcupsd.nix @@ -148,7 +148,7 @@ in # wall: cannot get tty name: Inappropriate ioctl for device # The message still gets through. systemd.services.apcupsd = { - description = "APC UPS daemon"; + description = "APC UPS Daemon"; wantedBy = [ "multi-user.target" ]; preStart = "mkdir -p /run/apcupsd/"; serviceConfig = { @@ -172,7 +172,7 @@ in before = [ "final.target" ]; wantedBy = [ "shutdown.target" ]; unitConfig = { - Description = "APC UPS killpower"; + Description = "APC UPS Kill Power"; ConditionPathExists = "/run/apcupsd/powerfail"; DefaultDependencies = "no"; }; diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix index 61aa30e57e13..be57b8c5c03f 100644 --- a/nixos/modules/services/monitoring/graphite.nix +++ b/nixos/modules/services/monitoring/graphite.nix @@ -172,7 +172,7 @@ in { ]; systemd.services.carbonCache = mkIf cfg.carbon.enableCache { - description = "Graphite data storage backend"; + description = "Graphite Data Storage Backend"; wantedBy = [ "multi-user.target" ]; after = [ "network-interfaces.target" ]; environment = carbonEnv; @@ -190,7 +190,7 @@ in { }; systemd.services.carbonAggregator = mkIf cfg.carbon.enableAggregator { - description = "Carbon data aggregator"; + description = "Carbon Data Aggregator"; wantedBy = [ "multi-user.target" ]; after = [ "network-interfaces.target" ]; environment = carbonEnv; @@ -201,7 +201,7 @@ in { }; systemd.services.carbonRelay = mkIf cfg.carbon.enableRelay { - description = "Carbon data relay"; + description = "Carbon Data Relay"; wantedBy = [ "multi-user.target" ]; after = [ "network-interfaces.target" ]; environment = carbonEnv; @@ -212,7 +212,7 @@ in { }; systemd.services.graphiteWeb = mkIf cfg.web.enable { - description = "Graphite web interface"; + description = "Graphite Web Interface"; wantedBy = [ "multi-user.target" ]; after = [ "network-interfaces.target" ]; environment = { diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix index 42d5f61af308..153f49429029 100644 --- a/nixos/modules/services/monitoring/munin.nix +++ b/nixos/modules/services/monitoring/munin.nix @@ -182,7 +182,7 @@ in }) (mkIf nodeCfg.enable { systemd.services.munin-node = { - description = "Munin node, the agent process"; + description = "Munin Node"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; path = [ pkgs.munin ]; diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index e18d9d7b67b5..4f6fce6cd52e 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -57,7 +57,7 @@ let nssModulesPath = config.system.nssModules.path; daemonService = appName: args: - { description = "Samba Service daemon ${appName}"; + { description = "Samba Service Daemon ${appName}"; wantedBy = [ "samba.target" ]; partOf = [ "samba.target" ]; @@ -211,7 +211,7 @@ in systemd = { targets.samba = { - description = "Samba server"; + description = "Samba Server"; requires = [ "samba-setup.service" ]; after = [ "samba-setup.service" "network.target" ]; wantedBy = [ "multi-user.target" ]; @@ -222,7 +222,7 @@ in "samba-smbd" = daemonService "smbd" "-F"; "samba-winbindd" = daemonService "winbindd" "-F"; "samba-setup" = { - description = "Samba setup task"; + description = "Samba Setup Task"; script = setupScript; unitConfig.RequiresMountsFor = "/home/smbd /var/samba /var/log/samba"; }; diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index efd546f3baa0..7c3c662eeac9 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -76,7 +76,7 @@ in }; systemd.services."zfs-mount" = { - description = "Mount zfs volumes"; + description = "Mount ZFS Volumes"; after = [ "zpool-import.service" ]; wantedBy = [ "local-fs.target" ]; serviceConfig = { diff --git a/nixos/modules/virtualisation/nova.nix b/nixos/modules/virtualisation/nova.nix index 05c68e2bbff9..e0d25183574e 100644 --- a/nixos/modules/virtualisation/nova.nix +++ b/nixos/modules/virtualisation/nova.nix @@ -113,7 +113,7 @@ in jobs.nova_objectstore = { name = "nova-objectstore"; - description = "Nova simple object store service"; + description = "Nova Simple Object Store Service"; startOn = "ip-up"; @@ -129,7 +129,7 @@ in jobs.nova_scheduler = { name = "nova-scheduler"; - description = "Nova scheduler service"; + description = "Nova Scheduler Service"; startOn = "ip-up"; @@ -140,7 +140,7 @@ in jobs.nova_compute = { name = "nova-compute"; - description = "Nova compute service"; + description = "Nova Compute Service"; startOn = "ip-up"; @@ -157,7 +157,7 @@ in jobs.nova_network = { name = "nova-network"; - description = "Nova network service"; + description = "Nova Network Service"; startOn = "ip-up"; diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix index 4c24c6a7826a..40f6929be4f0 100644 --- a/nixos/modules/virtualisation/xen-dom0.nix +++ b/nixos/modules/virtualisation/xen-dom0.nix @@ -107,7 +107,7 @@ in ''; jobs.xend = - { description = "Xen control daemon"; + { description = "Xen Control Daemon"; startOn = "stopped udevtrigger"; |