<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.kalen.pw/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.kalen.pw/feed.php">
        <title>wiki.kalen.pw development:linux:systemd</title>
        <description></description>
        <link>https://wiki.kalen.pw/</link>
        <image rdf:resource="https://wiki.kalen.pw/lib/tpl/SimpleDoku/images/favicon.ico" />
       <dc:date>2026-04-07T20:04:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.kalen.pw/doku.php?id=development:linux:systemd:create_service&amp;rev=1628022251&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.kalen.pw/doku.php?id=development:linux:systemd:systemctl&amp;rev=1625004627&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.kalen.pw/lib/tpl/SimpleDoku/images/favicon.ico">
        <title>wiki.kalen.pw</title>
        <link>https://wiki.kalen.pw/</link>
        <url>https://wiki.kalen.pw/lib/tpl/SimpleDoku/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.kalen.pw/doku.php?id=development:linux:systemd:create_service&amp;rev=1628022251&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-03T13:24:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Create Service</title>
        <link>https://wiki.kalen.pw/doku.php?id=development:linux:systemd:create_service&amp;rev=1628022251&amp;do=diff</link>
        <description>Create Service

----------

Create .service file in ~/.config/systemd/user

Eg:


[Unit]
Description=Linux Application Launcher
Documentation=https://ulauncher.io/
After=display-manager.service

[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/ulauncher --hide-window
  
[Install]
WantedBy=default.target</description>
    </item>
    <item rdf:about="https://wiki.kalen.pw/doku.php?id=development:linux:systemd:systemctl&amp;rev=1625004627&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-29T15:10:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systemctl</title>
        <link>https://wiki.kalen.pw/doku.php?id=development:linux:systemd:systemctl&amp;rev=1625004627&amp;do=diff</link>
        <description>systemctl

Used to manage systemd services

----------

start/stop enable/disable


# start service when server boots, will not start service if server is already running
# can also use disable 
sudo systemctl enable service-name

# start service on already running server
# can also use restart or stop
sudo systemctl start service-name</description>
    </item>
</rdf:RDF>
